home *** CD-ROM | disk | FTP | other *** search
/ Champak 122 / Vol 122.iso / games / gem_stri.swf / scripts / __Packages / mx / data / binding / ObjectDumper.as
Encoding:
Text File  |  2011-01-06  |  12.0 KB  |  391 lines

  1. var ┬º\x01┬º = 976;
  2. loop0:
  3. while(true)
  4. {
  5.    if(eval("\x01") == 976)
  6.    {
  7.       set("\x01",eval("\x01") - 93);
  8.       ┬º┬ºpush(true);
  9.       continue;
  10.    }
  11.    if(eval("\x01") == 857)
  12.    {
  13.       set("\x01",eval("\x01") - 240);
  14.       ┬º┬ºpush(true);
  15.       continue;
  16.    }
  17.    if(eval("\x01") == 228)
  18.    {
  19.       set("\x01",eval("\x01") + 259);
  20.       ┬º┬ºpush(true);
  21.       continue;
  22.    }
  23.    if(eval("\x01") == 682)
  24.    {
  25.       set("\x01",eval("\x01") - 454);
  26.       break;
  27.    }
  28.    if(eval("\x01") == 22)
  29.    {
  30.       set("\x01",eval("\x01") + 961);
  31.       if(┬º┬ºpop())
  32.       {
  33.          set("\x01",eval("\x01") - 691);
  34.       }
  35.       continue;
  36.    }
  37.    if(eval("\x01") == 300)
  38.    {
  39.       set("\x01",eval("\x01") + 584);
  40.       ┬º┬ºpush(int(┬º┬ºpop()));
  41.       break;
  42.    }
  43.    if(eval("\x01") == 983)
  44.    {
  45.       set("\x01",eval("\x01") - 691);
  46.       break;
  47.    }
  48.    if(eval("\x01") == 372)
  49.    {
  50.       set("\x01",eval("\x01") + 310);
  51.       if(┬º┬ºpop())
  52.       {
  53.          set("\x01",eval("\x01") - 454);
  54.       }
  55.       continue;
  56.    }
  57.    if(eval("\x01") == 35)
  58.    {
  59.       set("\x01",eval("\x01") + 531);
  60.       break;
  61.    }
  62.    if(eval("\x01") == 292)
  63.    {
  64.       set("\x01",eval("\x01") + 80);
  65.       ┬º┬ºpush(true);
  66.       continue;
  67.    }
  68.    if(eval("\x01") == 487)
  69.    {
  70.       set("\x01",eval("\x01") - 144);
  71.       if(┬º┬ºpop())
  72.       {
  73.          set("\x01",eval("\x01") + 15);
  74.       }
  75.       continue;
  76.    }
  77.    if(eval("\x01") != 777)
  78.    {
  79.       if(eval("\x01") == 884)
  80.       {
  81.          set("\x01",eval("\x01") - 862);
  82.          ┬º┬ºpush(true);
  83.       }
  84.       else if(eval("\x01") == 377)
  85.       {
  86.          set("\x01",eval("\x01") - 77);
  87.          if(┬º┬ºpop())
  88.          {
  89.             set("\x01",eval("\x01") + 584);
  90.          }
  91.       }
  92.       else if(eval("\x01") == 883)
  93.       {
  94.          set("\x01",eval("\x01") - 106);
  95.          if(┬º┬ºpop())
  96.          {
  97.             set("\x01",eval("\x01") + 80);
  98.          }
  99.       }
  100.       else
  101.       {
  102.          if(eval("\x01") == 343)
  103.          {
  104.             set("\x01",eval("\x01") + 15);
  105.             break;
  106.          }
  107.          if(eval("\x01") == 566)
  108.          {
  109.             set("\x01",eval("\x01") - 189);
  110.             ┬º┬ºpush(true);
  111.          }
  112.          else
  113.          {
  114.             if(eval("\x01") != 617)
  115.             {
  116.                if(eval("\x01") == 358)
  117.                {
  118.                   set("\x01",eval("\x01") + 543);
  119.                   if(!_global.mx)
  120.                   {
  121.                      _global.mx = new Object();
  122.                   }
  123.                   ┬º┬ºpop();
  124.                   if(!_global.mx.data)
  125.                   {
  126.                      _global.mx.data = new Object();
  127.                   }
  128.                   ┬º┬ºpop();
  129.                   if(!_global.mx.data.binding)
  130.                   {
  131.                      _global.mx.data.binding = new Object();
  132.                   }
  133.                   ┬º┬ºpop();
  134.                   if(!_global.mx.data.binding.ObjectDumper)
  135.                   {
  136.                      var _loc2_ = mx.data.binding.ObjectDumper = function()
  137.                      {
  138.                         this.inProgress = new Array();
  139.                      }.prototype;
  140.                      mx.data.binding.ObjectDumper = function()
  141.                      {
  142.                         this.inProgress = new Array();
  143.                      }.toString = function(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent)
  144.                      {
  145.                         var _loc1_ = indent;
  146.                         var _loc2_ = maxLineLength;
  147.                         var _loc3_ = new mx.data.binding.ObjectDumper();
  148.                         if(_loc2_ == undefined)
  149.                         {
  150.                            _loc2_ = 100;
  151.                         }
  152.                         if(_loc1_ == undefined)
  153.                         {
  154.                            _loc1_ = 0;
  155.                         }
  156.                         return _loc3_.realToString(obj,showFunctions,showUndefined,showXMLstructures,_loc2_,_loc1_);
  157.                      };
  158.                      _loc2_.realToString = function(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent)
  159.                      {
  160.                         var _loc1_ = obj;
  161.                         var x = 0;
  162.                         while(x < this.inProgress.length)
  163.                         {
  164.                            if(this.inProgress[x] == _loc1_)
  165.                            {
  166.                               return "***";
  167.                            }
  168.                            x++;
  169.                         }
  170.                         this.inProgress.push(_loc1_);
  171.                         indent++;
  172.                         var t = typeof _loc1_;
  173.                         var result;
  174.                         if(_loc1_ instanceof XMLNode && showXMLstructures != true)
  175.                         {
  176.                            result = _loc1_.toString();
  177.                         }
  178.                         else if(_loc1_ instanceof Date)
  179.                         {
  180.                            result = _loc1_.toString();
  181.                         }
  182.                         else if(t == "object")
  183.                         {
  184.                            var _loc3_ = new Array();
  185.                            if(_loc1_ instanceof Array)
  186.                            {
  187.                               result = "[";
  188.                               var i = 0;
  189.                               while(i < _loc1_.length)
  190.                               {
  191.                                  _loc3_.push(i);
  192.                                  i++;
  193.                               }
  194.                            }
  195.                            else
  196.                            {
  197.                               result = "{";
  198.                               for(var i in _loc1_)
  199.                               {
  200.                                  _loc3_.push(i);
  201.                               }
  202.                               _loc3_.sort();
  203.                            }
  204.                            var sep = "";
  205.                            var _loc2_ = 0;
  206.                            while(_loc2_ < _loc3_.length)
  207.                            {
  208.                               var val = _loc1_[_loc3_[_loc2_]];
  209.                               var show = true;
  210.                               if(typeof val == "function")
  211.                               {
  212.                                  show = showFunctions == true;
  213.                               }
  214.                               if(typeof val == "undefined")
  215.                               {
  216.                                  show = showUndefined == true;
  217.                               }
  218.                               if(show)
  219.                               {
  220.                                  result += sep;
  221.                                  if(!(_loc1_ instanceof Array))
  222.                                  {
  223.                                     result += _loc3_[_loc2_] + ": ";
  224.                                  }
  225.                                  result += this.realToString(val,showFunctions,showUndefined,showXMLstructures,maxLineLength,indent);
  226.                                  sep = ", `";
  227.                               }
  228.                               _loc2_ = _loc2_ + 1;
  229.                            }
  230.                            if(_loc1_ instanceof Array)
  231.                            {
  232.                               result += "]";
  233.                            }
  234.                            else
  235.                            {
  236.                               result += "}";
  237.                            }
  238.                         }
  239.                         else if(t == "function")
  240.                         {
  241.                            result = "function";
  242.                         }
  243.                         else if(t == "string")
  244.                         {
  245.                            result = "\"" + _loc1_ + "\"";
  246.                         }
  247.                         else
  248.                         {
  249.                            result = String(_loc1_);
  250.                         }
  251.                         if(result == "undefined")
  252.                         {
  253.                            result = "-";
  254.                         }
  255.                         this.inProgress.pop();
  256.                         return mx.data.binding.ObjectDumper.replaceAll(result,"`",result.length >= maxLineLength ? "\n" + this.doIndent(indent) : "");
  257.                      };
  258.                      mx.data.binding.ObjectDumper = function()
  259.                      {
  260.                         this.inProgress = new Array();
  261.                      }.replaceAll = function(str, from, to)
  262.                      {
  263.                         var _loc3_ = str.split(from);
  264.                         var result = "";
  265.                         var _loc2_ = "";
  266.                         var _loc1_ = 0;
  267.                         while(_loc1_ < _loc3_.length)
  268.                         {
  269.                            result += _loc2_ + _loc3_[_loc1_];
  270.                            _loc2_ = to;
  271.                            _loc1_ = _loc1_ + 1;
  272.                         }
  273.                         return result;
  274.                      };
  275.                      _loc2_.doIndent = function(indent)
  276.                      {
  277.                         var _loc3_ = indent;
  278.                         var _loc2_ = "";
  279.                         var _loc1_ = 0;
  280.                         while(_loc1_ < _loc3_)
  281.                         {
  282.                            _loc2_ += "     ";
  283.                            _loc1_ = _loc1_ + 1;
  284.                         }
  285.                         return _loc2_;
  286.                      };
  287.                      ┬º┬ºpush(ASSetPropFlags(mx.data.binding.ObjectDumper.prototype,null,1));
  288.                   }
  289.                   ┬º┬ºpop();
  290.                }
  291.                break;
  292.             }
  293.             set("\x01",eval("\x01") - 582);
  294.             if(┬º┬ºpop())
  295.             {
  296.                set("\x01",eval("\x01") + 531);
  297.             }
  298.          }
  299.       }
  300.       continue;
  301.    }
  302.    set("\x01",eval("\x01") + 80);
  303.    stop();
  304.    loop1:
  305.    while(true)
  306.    {
  307.       if(┬º┬ºpop())
  308.       {
  309.          if(eval("\x01") == 537)
  310.          {
  311.             set("\x01",eval("\x01") - 46);
  312.             if(!_global.mx)
  313.             {
  314.                _global.mx = new Object();
  315.             }
  316.             ┬º┬ºpop();
  317.             if(!_global.mx.rpc)
  318.             {
  319.                _global.mx.rpc = new Object();
  320.             }
  321.             ┬º┬ºpop();
  322.             if(_global.mx.rpc.Responder)
  323.             {
  324.             }
  325.             ┬º┬ºpop();
  326.          }
  327.          break loop0;
  328.       }
  329.       set("\x01",eval("\x01") - 952);
  330.       if(┬º┬ºpop())
  331.       {
  332.          set("\x01",eval("\x01") + 518);
  333.       }
  334.       while(true)
  335.       {
  336.          if(eval("\x01") == 577)
  337.          {
  338.             set("\x01",eval("\x01") - 436);
  339.             ┬º┬ºpush(true);
  340.             continue;
  341.          }
  342.          if(eval("\x01") == 141)
  343.          {
  344.             set("\x01",eval("\x01") + 650);
  345.             if(┬º┬ºpop())
  346.             {
  347.                set("\x01",eval("\x01") - 651);
  348.             }
  349.             continue;
  350.          }
  351.          if(eval("\x01") == 517)
  352.          {
  353.             set("\x01",eval("\x01") - 262);
  354.             break loop0;
  355.          }
  356.          if(eval("\x01") == 791)
  357.          {
  358.             set("\x01",eval("\x01") - 651);
  359.             break loop0;
  360.          }
  361.          if(eval("\x01") == 140)
  362.          {
  363.             set("\x01",eval("\x01") + 118);
  364.             ┬º┬ºpush(true);
  365.             continue;
  366.          }
  367.          if(eval("\x01") == 258)
  368.          {
  369.             set("\x01",eval("\x01") + 259);
  370.             if(┬º┬ºpop())
  371.             {
  372.                set("\x01",eval("\x01") - 262);
  373.             }
  374.             continue;
  375.          }
  376.          if(eval("\x01") == 255)
  377.          {
  378.             set("\x01",eval("\x01") + 716);
  379.             ┬º┬ºpush(true);
  380.             continue;
  381.          }
  382.          if(eval("\x01") == 19)
  383.          {
  384.             set("\x01",eval("\x01") + 518);
  385.             break loop0;
  386.          }
  387.          continue loop1;
  388.       }
  389.    }
  390. }
  391.